package cn.com.dal.dao.hr;

import java.util.List;

import cn.com.dal.dataobject.hr.RoleDO;
import cn.com.support.dal.BaseDAO;
import cn.com.support.dal.DAOException;

/**
 * ReloDAO 接口
 * 
 * @param <T>
 * @since 2012-3-16 下午9:24:47
 * @version 1.0
 * @author Microbun
 * 
 */
public interface RoleDAO<T extends RoleDO> extends BaseDAO<T> {

	/**
	 * 根据用户名查询角色
	 * 
	 * @param username
	 * @return
	 * @throws DAOException
	 */
	public List<RoleDO> selectRoleByUsername(String username)
			throws DAOException;
}
